package com.wang.other_test.test;

/**
 * @author: lvyan
 * @date: 2023/1/5
 * @description:
 */
public abstract class demo {
    public final String does(){
        do1();
        do2();
        do3();
        do4();

        return null;
    };

    public abstract void do1();
    public abstract void do2();
    public abstract void do3();
    public abstract void do4();

    public static void main(String[] args) {
        demo demo = new demo() {
            @Override
            public void do1() {

            }

            @Override
            public void do2() {

            }

            @Override
            public void do3() {

            }

            @Override
            public void do4() {

            }
        };
    }
}
